﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<MedicalLog.Domain.Entities.Doctor>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
    Detail
</asp:Content>
<asp:Content ID="Content5" ContentPlaceHolderID="HeadContent" runat="server">
    <script type="text/javascript">
        $(document).ready(function () {
            $('.footer').hide();
            $('.footer').fadeIn('5000');
        });
    </script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <div class="header">
        <h3>
            Detalle del doctor
            <%:Model.Name%>
        </h3>
    </div>
    <div id="main">
        <fieldset class="main-style">
            <table>
                <tbody>
                    <tr>
                        <td class="display-label">
                            Id:
                        </td>
                        <td class="display-field">
                            <%:Model.IdDoctor%>
                        </td>
                    </tr>
                    <tr>
                        <td class="display-label">
                            Nombre:
                        </td>
                        <td class="display-field">
                            <%:Model.Name%>
                        </td>
                    </tr>
                    <tr>
                        <td class="display-label">
                            Apellido:
                        </td>
                        <td class="display-field">
                            <%:Model.LastName%>
                        </td>
                    </tr>
                    <tr>
                        <td class="display-label">
                            Teléfono
                        </td>
                        <td class="display-field">
                            <%:Model.Telephone %>
                        </td>
                    </tr>
                    <tr>
                        <td class="display-label">
                            Movil
                        </td>
                        <td class="display-field">
                            <%:Model.Celphone%>
                        </td>
                    </tr>
                    <tr>
                        <td class="display-label">
                            Direccion
                        </td>
                        <td class="display-field">
                            <%:Model.Address %>
                        </td>
                    </tr>
                    <tr>
                        <td class="display-label">
                            E-mail:
                        </td>
                        <td class="display-field">
                            <%:Model.Email%>
                        </td>
                    </tr>
                    <tr>
                        <td class="display-label">
                            Usuario:
                        </td>
                        <td class="display-field">
                            <%:Model.Username%>
                        </td>
                    </tr>
                </tbody>
            </table>
        </fieldset>
    </div>
    <div class="footer">
        <h4>
            Acciones</h4>
        <fieldset class="main-style2">
            <p>
                <%: Html.ActionLink("Actualizar", "Edit", new { id=Model.IdDoctor }) %>
                |
                <%: Html.ActionLink("Regresar a la página principal", "SearchPatient","Patient")%>
            </p>
        </fieldset>
    </div>
</asp:Content>
